package com.itheima.idea;

public class TestStudent3 {
    public static void main(String[] args) {
        Student3 stu = new Student3();
        stu.setName("老张");
        stu.setAge(20);
        stu.show();


        System.out.println("--------");


        Student3 stu2 = new Student3("老徐",22);
        stu2.show();
    }
}
